<?php session_start(); ?>
<?php include('header.php'); ?>
<?php
  if( $_SESSION['level'] == '1' )
  {
    include('nav/navUser.php');
    echo '<div class="alert alert-success">';
    echo $_SESSION['welcomeMsg'];
    $_SESSION['response'] = '';
    echo '</div>';
    ?>
    <div class="row hideLogo">
      <div class="span2 offset5 img-polaroid">
        <img src="assets/img/logo.png">
      </div>
    </div>
    <?php
    include('searchCvs.php');
    include('addCv.php');
  }
  else if( $_SESSION['level'] == '2' )
  {
    include('navAdmin.php');
  }
  else if( $_SESSION['level'] == '3' )
  {
    include('navSuper.php');
  }
?>

<?php include('footer.php'); ?>